﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MNF.Base.Encrypt;
using MNF.DataAccess.SysHelper;

namespace MNF.Common.SysLogic
{
    /// <summary>
    /// added by lqm 20130707 用户逻辑相关处理
    /// </summary>
    public static class UsersLogic
    {
        /// <summary>
        /// 登录逻辑处理
        /// </summary>
        /// <param name="SUNo"></param>
        /// <param name="SUPassword"></param>
        /// <returns></returns>
        public static bool Login(string SUNo, string SUPassword)
        {
            string EncryptPassword = SUPassword.Encode();
            return UsersHelper.Login(SUNo, EncryptPassword);
        }
    }
}
